package com.punai.config.service;

import com.punai.config.domain.ConfigMaterialCategory;
import com.punai.config.domain.ConfigMaterialInfo;
import com.punai.config.domain.vo.ConfigMaterialCategoryVo;
import com.punai.config.domain.vo.ConfigMaterialInfoVo;

import java.util.List;

public interface ConfigMaterialPLCService {
    List<ConfigMaterialCategoryVo> getAllAddress(String type);

    ConfigMaterialCategoryVo saveCategory(ConfigMaterialCategoryVo vo);


    List<ConfigMaterialCategoryVo> getTreeCategory(String pid, String type);

    List<ConfigMaterialCategoryVo> getAllCategory(String pid, String type);

    ConfigMaterialCategoryVo getCategoryInfo(String id);

    ConfigMaterialCategory removeCategory(String id);

    List<ConfigMaterialInfoVo> getAllInfo(ConfigMaterialInfoVo vo);

    ConfigMaterialInfoVo saveMaterialInfo(ConfigMaterialInfoVo vo);

    ConfigMaterialInfo removeMaterialInfo(ConfigMaterialInfoVo vo);

    ConfigMaterialInfo getMaterialInfo(String id);
}
